import React from 'react'
import AppleBasket from './components/AppleBasket'
import { inject, observer } from 'mobx-react'

@inject('apples')
@observer
class App extends React.Component {
  constructor(props) {
    super(props)
  }
  render() {
    console.log(this.props)
    return (
      <div className="App">
        <AppleBasket apples={this.props.apples}/>
      </div>
    );
  }
}

export default App;
